import request from '@/utils/request'

// 头程配货配置-列表
export function queryHeadGoodConfigList(data) {
  return request({
    url: '/wms_v1_pc/head-good-config/list-head-good-config',
    method: 'POST',
    data
  })
}

// 头程配货配置-添加
export function saveHeadGoodConfig(data) {
  return request({
    url: '/wms_v1_pc/head-good-config/add-head-good-config',
    method: 'POST',
    data
  })
}

// 头程配货配置-修改
export function updateHeadGoodConfig(data) {
  return request({
    url: '/wms_v1_pc/head-good-config/update-head-good-config',
    method: 'POST',
    data
  })
}

// 头程配货配置-查看
export function getHeadGoodConfigDetail(params) {
  return request({
    url: '/wms_v1_pc/head-good-config/get-head-good-config',
    method: 'GET',
    params
  })
}

